package com.demo.common.mapper;

public enum CustSqlMethod {
    //注意：method需要与xxxMapper中的方法名一致，即insertList
    INSERT_BATCH("insertList", "插入多条数据（选择字段插入）", "<script> INSERT INTO %s (%s) values %s</script>");


    private final String method;
    private final String desc;
    private final String sql;

    CustSqlMethod(String method, String desc, String sql) {
        this.method = method;
        this.desc = desc;
        this.sql = sql;
    }

    public String getMethod() {
        return method;
    }

    public String getDesc() {
        return desc;
    }

    public String getSql() {
        return sql;
    }
}
